If github shows wrong language icon

1. Create .gitattributes in repo’s main directory
2. Add the following line to it

*.css linguist-language=PHP

3. Change css extension to right extension that causes the problem, for example to *.twig

Leave a Reply